package com.dingreading.cloud.soms.service.impl;

import com.dingreading.cloud.soms.entity.MstCmservices;
import com.dingreading.cloud.soms.entity.table.MstCmservicesTableDef;
import com.dingreading.cloud.soms.mapper.MstCmservicesMapper;
import com.dingreading.cloud.soms.service.MstCmservicesService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 服务层实现。
 *
 * @author Administrator
 * @since 2023-11-22
 */
@Service
public class MstCmservicesServiceImpl extends BaseServiceImpl<MstCmservicesMapper, MstCmservices, MstCmservicesTableDef> implements MstCmservicesService {


    @Override
    protected MstCmservicesTableDef getTable() {
        return MstCmservicesTableDef.mstCmservices;
    }


    @Override
    public List<MstCmservices> listByStoreUid(String storeUid) {
        return getMapper().selectListByCondition(table.storeUid.eq(storeUid));
    }
}
